@import url('https://fonts.googleapis.com/css2?family=Cousine:ital,wght@0,400;0,700;1,400;1,700&display=swap');
*::selection{
  display:none;
}
html {
  height: 100%;
  width: 100%;
}
.container{
  width:500px;
  min-height: 154.4px;
  margin:auto;
  background-color: #222;
}
.container h2{
  color: white;
  text-align: center;
  font-family: Cousine;
}
.alarm{
  padding-top:13.6px;
  width:480px;
  color:white;
  height:100px;
  font-family: sans-serif;
  padding-left:20px;
  border-bottom: 1px gray solid;
}
.alarm h1{
  margin-bottom:0px;
  margin-top:0px;
}
.alarm p{
  margin-top:0px;
}
.topbar{
  border-bottom: 1px gray solid;
  padding:5px;
  font-family: sans-serif;
  width:calc(100% - 10px);
  color:white;
  font-size:18px;
  height:30px;
  display:flex;
  justify-content:space-between;
}
.topbar p{
  margin-top:0;
}
.topbar a{
  color:orange;
  text-decoration: none;
}
.bf{
  font-size:24px;
}
#edit{
  width:30px;
  overflow:shown;
}
.alarm p.del{
  color:red;
  display:none;
  position:relative;
  margin-top:-16px;
  width:60px;
}
.e .alarm .del{
  display: block;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  left:400px;
  top:-45px;
}
.e .alarm .switch{
  top:-63px;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: #0a0;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}


.popup {
  background-color: #333;
  position: absolute;
  border-radius: 15px;
  border: 1px gray solid;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 500px;
  height: 250px;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.psection{
  width: 100%;
}
.psection.title{
  height: calc(27.7px + 0.83rem);
  text-align: center;
  padding-top: 0.83rem;
}
.psection.title h2{
  margin-top:0px;
  margin-bottom:0px;
  font-family: Cousine;
  color: white;
}
.psection.cont{
  height:calc(50% + 5px);
}
.psection.cont input{
  width:100%;
  height:50%;
  border:0;
  padding:0;
  font-size: 30px;
  color:white;
  border-bottom:1px white solid;
  background-color: #444;
}
.psection.end{
  height: 25%;
  position: absolute;
  z-index: 3;
  bottom:0
}
.psection.end button{
  width:50%;
  height:100%;
  border:0;
  padding:0;
  margin:0px;
  background-color: #444;
  color:white;
  font-family: Cousine;
}
.psection.end button:hover{
  background-color: #555;
}
#delete,#edit{
  cursor:pointer;
}